package chixing.day09.classe;

public class CpuTest {
    public static void main(String[] args)
        {
        NvidiaCpu cpu1 = new NvidiaCpu();
        IntelCpu cpu2 = new IntelCpu();
        cpu1.cpuRun();
        cpu1.cpuStop();
        cpu2.cpuRun();
        Cpu cpu3 = new NvidiaCpu();
        Cpu cpu4 = new IntelCpu();
        cpu3.cpuRun();
        cpu4.cpuStop();
        }
    public static void fun(Cpu cpu)
        {

        }
}
